import 'package:self32/generated/json/base/json_convert_content.dart';
import 'package:self32/entity/version_entity.dart';

VersionEntity $VersionEntityFromJson(Map<String, dynamic> json) {
	final VersionEntity versionEntity = VersionEntity();
	final int? verCode = jsonConvert.convert<int>(json['ver_code']);
	if (verCode != null) {
		versionEntity.verCode = verCode;
	}
	final String? url = jsonConvert.convert<String>(json['url']);
	if (url != null) {
		versionEntity.url = url;
	}
	return versionEntity;
}

Map<String, dynamic> $VersionEntityToJson(VersionEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['ver_code'] = entity.verCode;
	data['url'] = entity.url;
	return data;
}